package com.colud.client.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.env.YamlPropertySourceLoader;
import org.springframework.context.annotation.DependsOn;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author mfy
 * @date 2021/10/13
 */
@Data
@Component
@ConfigurationProperties(prefix = "jt809-client.connect")
public class JT809HandlerConfig {

    /**
     * 下级平台ip
     */
    private String DOWN_LINK_IP;

    /**
     * 下级平台port
     */
    private int DOWN_LINK_PORT;
    /**
     * 上级平台ip
     */
    private String SERVER_IP;

    /**
     * 上级平台port
     */
    private int SERVER_PORT;

}
